package dominion.kingdom;

import dominion.Action;
import dominion.CardTypes;
import dominion.Dominion;
import dominion.Player;

public class Festival implements Action {

	@Override
	public void execute(Dominion dominion) {
		Player player = dominion.current();
		player.act(dominion);
		player.act(dominion);
		player.addBuy();
		player.addTemporaryCoin(2);
	}

	@Override
	public CardTypes getType() {
		return CardTypes.Festival;
	}

	@Override
	public String toString() {
		return getType().name();
	}
}
